<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>若雨验证码</title>
</head>

<body>
    <div id="body">
        <div id="header">
            <span id="title">若雨验证码</span>
        </div>
        <div id="content">
            <p id="codeSlot">
                您的验证码为 %codeSlot<br>
            </p>
            <div id="code">
                <span>
                    3
                </span>
                <span>
                    4
                </span>
                <span>
                    4
                </span>
                <span>
                    4
                </span>
                <span>
                    4
                </span>
            </div>
            <p id="info"> 
                当前验证码用于: <d>%useSlot</d><br>
                若雨网站: <a href="https://yeyv.cn">https://www.reyv.site</a><br>
                1. 验证码5分钟内有效，过期请重新申请<br>
                2. 验证码请不要泄露，泄露后果自行承担<br>
            </p>
        </div>
        <div id="moreBtn">
            <a href="tencent://Message/?Uin=3097411322&websiteName=www.oicqzone.com&Menu=yes"
                class="buttona webbtn">联系若雨</a>
            <a href="tencent://Message/?Uin=3097411322&websiteName=www.oicqzone.com&Menu=yes"
                class="buttona webbtn">点击添加</a>
        </div>
    </div>

    <script>
        const has = /phone|pad|pod|iPhone|iPod|ios|iPad|Android|Fennec|BlackBerry|Mobile|IEMobile|MQQBrowser|JUC|Fennec|WosBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test(navigator.userAgent);
        var btnArr = [];
        if (!has) {
            btnArr = document.getElementsByClassName("mbtn");
        } else {
            btnArr = document.getElementsByClassName("webbtn");
        }
        btnArr = Array.from(btnArr);
        console.log(btnArr)
        for (var i = 0; i < btnArr.length; i++) {
            btnArr[i].remove();
        }
    </script>

    <style>
        #body {
            width: 100%;
            height: max-content;
            background: rgb(46, 46, 46);
            color: white;
        }

        #moreBtn {
            padding: 0;
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        a {
            color: rgb(9, 198, 255);
        }

        d {
            color: rgb(46, 46, 46);
        }

        .buttona {
            display: inline-block;
            margin: 4pt;
            border-radius: 4pt;
            padding: 4pt;
            font-size: 12pt;
            background: rgb(9, 198, 255);
            color: rgb(243, 243, 243);
            text-decoration: none;
        }

        #header {
            padding: 12pt;
        }

        #title {
            font-size: 20pt;
        }

        #content {
            background: rgb(207, 207, 207);
            border-radius: 5pt;
            padding: 4pt;
            color: white;
            text-align: center;
        }

        #info {
            line-height: 15pt;
            color: rgb(255, 253, 247);
            font-size: 10pt;
        }

        #codeSlot {
            margin: 0 auto;
            margin: 0 auto;
            text-align: center;
            font-size: 14pt font-weight: bold;
            font-size: 14pt;
        }

        #code {
            margin: 0 auto;
            width: max-content;
        }

        #code span {
            display: inline-block;
            margin: 10pt;
            text-align: center;
            font-size: 18pt;
            vertical-align: middle;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            font-weight: bold;
            width: 26pt;
            height: 26pt;
            color: white;
            background: rgb(9, 198, 255);
            border-radius: 4pt;
        }
    </style>
</body>

</html>